package com.zhang.serviceprice.remote;

import com.zhang.internalcommon.dto.ForecastPrceDTO;
import com.zhang.internalcommon.dto.ResponseResult;
import com.zhang.internalcommon.response.DirectionResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("service-map")
public interface ServiceMapClient {

	@PostMapping("/direction/driving")
	public ResponseResult<DirectionResponse> driving(@RequestBody ForecastPrceDTO forecastPrceDTO);
}
